package com.gzy.cbrsystem.core;

import java.util.Comparator;

public class SortBySim implements Comparator {

	public int compare(Object o1, Object o2) {
		ReasoningResult a=(ReasoningResult)o1;
		ReasoningResult b=(ReasoningResult)o2;
		return a.sim<b.sim?1:0;
	}

}
